package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Product;
import cn.wolfcode.trip.base.domain.Travel;
import cn.wolfcode.trip.base.query.ProductQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IProductService {
    void saveOrUpdate(Product product);

    PageInfo query(ProductQuery qo);

    void updateState(Product product);

    List<Product> listAll(int state);

    Product get(Long id);
}
